//
//  Mycell2.m
//  UI09_2_自定义cell
//
//  Created by Scott on 15/5/7.
//  Copyright (c) 2015年 www.lanou3g.com 蓝欧3G. All rights reserved.
//

#import "Mycell2.h"

@implementation Mycell2

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.myImageview = [[UIImageView alloc] initWithFrame:self.contentView.bounds];
        self.myImageview.backgroundColor = [UIColor greenColor];
        [self.contentView addSubview:self.myImageview];
        [_myImageview release];
    }
    
    return self;
}


- (void)dealloc
{
    [_myImageview release];
    [super dealloc];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
